package cn.daniel.framework.core.enums;

/**
 * @author daniel.tuen
 * @date 2025/9/1 15:07
 * @description ip 名单类型枚举类
 */
public enum IPListTypeEnum {
    /**
     * 是
     */
    BLACK_LIST(1, "黑名单"),
    /**
     * 否
     */
    WHITE_LIST(2, "白名单");

    private Integer code;

    private String desc;

    IPListTypeEnum(Integer code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
